#pragma once

#define  SELL_PHONE			0
#define  SELL_ACCOSSORY		1
#include "RealObject/Product.h"

#include "maskededit/OXMaskedEdit.h"
// CSellDialog dialog

class CSellDialog : public CDialog
{
	DECLARE_DYNAMIC(CSellDialog)

public:
	CSellDialog(CWnd* pParent = NULL);   // standard constructor
	virtual ~CSellDialog();

// Dialog Data
	enum { IDD = IDD_DIALOG_SELL };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	afx_msg void OnBnAddBasket();
	afx_msg void OnBnCancel();
	afx_msg void OnEnChangeCode();
	afx_msg void OnBnClickedCheckInputType();
	DECLARE_MESSAGE_MAP()
public:
	CButton m_ctrlCheck;
	CString m_sInfor;
	CProduct* m_pProduct;
	int m_nTypeSell;
	CString m_sLabel;
	COXMaskedEdit m_ctrlCode;
};
